import request from '@/router/axios';
import qs from 'qs';

// 数据列表-领用申请
export const getOutPutBankListOfSearch = (data) => request({
    url: '/consumables/outPutBank/v1/init',
    method: 'post',
    data: qs.stringify(data),
})
// 数据-领用申请
export const getOutPutBank = (data) => request({
    url: '/consumables/outPutBank/v1/findById?id='+data,
    method: 'post',
})
// 添加-领用申请
export const addOutPutBank = (data) => request({
    url: '/consumables/outPutBank/v1/insert',
    method: 'post',
    data: qs.stringify(data),
})
// 修改-领用申请
export const updOutPutBank = (data) => request({
    url: '/consumables/outPutBank/v1/update',
    method: 'post',
    data: qs.stringify(data),
})
// 删除-领用申请
export const delOutPutBank = (data) => request({
    url: '/consumables/outPutBank/v1/getById?id='+data,
    method: 'post',
})